import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import cust from '@/components/cust'
import prodInst from '@/components/prod-inst'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/cust',
      name: 'cust',
      component: cust,
      meta: {
        title: '客户管理',
        keepAlive: false
      }
    },
    {
      path: '/prodInst',
      name: 'prodInst',
      component: prodInst,
      meta: {
        title: '产品实例信息',
        keepAlive: false
      }
    }
  ]
})
